package com.mapler.ui;

import java.awt.event.ActionListener;
import javax.swing.JCheckBox;

/**
 *
 * @author Mithun
 */
public abstract class Action implements ActionListener{
    private String id;
    private boolean checked;
    private JCheckBox jCheckBox;
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;        
    }
    
    public Action(String id, JCheckBox jCheckBox){
        this.id = id;
        this.jCheckBox = jCheckBox;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public JCheckBox getjCheckBox() {
        return jCheckBox;
    }

    public void setjCheckBox(JCheckBox jCheckBox) {
        this.jCheckBox = jCheckBox;
    }
}
